package com.heima.model.article.dtos;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ArticlePageDto implements Serializable {
    private Integer index;
    private Integer laddir;
    /**
     * 最大时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date maxBehotTime;
    /**
     * 最小时间
     */
    private Date minBehotTime;
    /**
     * 每页条数
     */
    private Integer size;
    /**
     * 标签
     */
    private String tag;
}
